package com.baking.model;

import com.baking.util.BaseModel;

/**
 * @Author:wrb
 * @Date :2020/1/1/16:28
 * @Describtion:
 **/
public class Menu extends BaseModel {
    private Integer id;
    private String text;
    private Integer parentId;
    private String url;
    private String icom;
    private boolean state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcom() {
        return icom;
    }

    public void setIcom(String icom) {
        this.icom = icom;
    }

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id=" + id +
                ", text='" + text + '\'' +
                ", parentId=" + parentId +
                ", url='" + url + '\'' +
                ", icom='" + icom + '\'' +
                ", state=" + state +
                '}';
    }
}
